<?php
//----------------------------------------------------------------------------------------------------------
    require_once('../config.inc.php');
//    require_once($config['app_dir'] . '/classes/log.class.php');
    require_once($config['app_dir'] . '/classes/StockMailers.class.php');
    //------------------------------------------------------------------------------------------------------
    
/*    
    
    $TextLog = new objTextLog('test');
    
    $data = array();
    $data['message'] = '11';
    $data['result'] = '21';
    $TextLog->Add( new objMailerLogRecord($data) );
    //$TextLog->Flush();
*/
				try {
				   $StockMailer = new objStockParamMailer(2400203, '2007-02-16', '2007-03-09');
				   $StockMailer->Send();
				} catch(exception $e) {
						die('Error: '.$e->getMessage());
				}

//----------------------------------------------------------------------------------------------------------     
?>